package com.ruoyi.quartz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "spring.quartz")  // 前缀与配置文件一致
public class QuartzProperties {

    //定时任务自动启动
    private boolean autoStartup = false;
}
